﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;

namespace DataAccess
{
    public class MainWindowDataAccess:BaseDataAccess
    {
        public DataTable getMenuTable()
        {
            StringBuilder strSql = new StringBuilder();
            strSql.AppendLine("select vcFunctionID,vcFunctionName,vcPath,iLeave,vcFatherFunctionID from SFunction order by iLeave,vcFatherFunctionID,iAutoID");
            
            return SearchTable(strSql.ToString());
        }
    }
}
